package collection02;

import java.util.Arrays;
import java.util.List;

public class ArrayToList {
    public static void main(String[] args) {
        String[] str ={"one", "two", "three", "four", "five"};
        System.out.println(Arrays.toString(str));//?????

        List<String> list=Arrays.asList(str);
        System.out.println(list);

        str[1]="1";
        System.out.println(Arrays.toString(str));
        System.out.println(list);

    }
}
